import request from "@/utils/request";

export const getDkbzList = (data) => {
    return request({
        url: "/intra/pattern/patternlandstation/list",
        method: "get",
        params: data,
    });
};
export const delDkbz = (data) => {
    return request({
        url: "/intra/pattern/patternlandstation/delete",
        method: "delete",
        data,
    });
};
export const getDkbzDetailById = (id) => {
    return request({
        url: `/intra/pattern/patternlandstation/detail/${id}`,
        method: "get",
    });
};
export const saveDkbz = (data) => {
    return request({
        url: `/intra/pattern/patternlandstation/submit`,
        method: "post",
        data,
    });
};
export const setxsFA = (data) => {
    return request({
        url: `/intra/pattern/patternplan/submitCalculateAllDemandPlan`,
        method: "post",
        data,
    });
};
export const setssFA = (data) => {
    return request({
        url: `/intra/pattern/patternplan/submitOptimizedWaterDistributionPlan`,
        method: "post",
        data,
    });
};
export const setyhsFA = (data) => {
    return request({
        url: `/intra/pattern/patternplan/submitOptimizedWaterAllocationPlan`,
        method: "post",
        data,
    });
};
